<?php

namespace Addons\Yjategory\Controller;
use Home\Controller\AddonsController;

class YjategoryController extends AddonsController{
		public function ajax(){
				
				$_POST['id']==0 || $a = M($_POST['name'])->where(array('pid'=>$_POST['id']))->select();
				$this->ajaxReturn($a);
		}
}
